luci-proto-wireguard: grant uci read access to system and ddns config
authorJo-Philipp Wich <[email protected]>
Mon, 20 Jun 2022 21:56:58 +0000 (23:56 +0200)
committerJo-Philipp Wich <[email protected]>
Mon, 1 Aug 2022 09:57:42 +0000 (11:57 +0200)
commitae2b63661207a8a50b5dd034223659d4fb2117b9
tree7b34492bc7e6606fe9447980ce7bb04fe248ccd2
parentde6638b794221f36399f1db35b9723d6f6a6d62e
luci-proto-wireguard: grant uci read access to system and ddns config

The configuration export requires access to /e/c/system and /e/c/ddns for
external hostname hints.

Fixes: #5838
Fixes: 9ba20645b0 ("luci-proto-wireguard: rewrite protocol handler")
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit 4769bf11aa5d33cda4785faec8046c67cb51a606)
protocols/luci-proto-wireguard/root/usr/share/rpcd/acl.d/luci-wireguard.json